package com.ruoyi.bargain.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 砍价帮砍记录表 wxact_bargain_record
 * 
 * @author lzy
 * @date 2019-03-07
 */
public class BargainRecord extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 记录id */
	private String id;
	/** 报名id */
	private String registrationId;
	/** 砍价人openid */
	private String openid;
	/** 砍价人昵称 */
	private String nickname;
	/** 砍掉价格 */
	private BigDecimal cutPrice;
	/** 砍后价格 */
	private BigDecimal currPrice;
	/** 创建时间 */
	private Date createTime;
	/** 对应微信平台原始id */
	private String jwid;

	public void setId(String id) 
	{
		this.id = id;
	}

	public String getId() 
	{
		return id;
	}
	public void setRegistrationId(String registrationId) 
	{
		this.registrationId = registrationId;
	}

	public String getRegistrationId() 
	{
		return registrationId;
	}
	public void setOpenid(String openid) 
	{
		this.openid = openid;
	}

	public String getOpenid() 
	{
		return openid;
	}
	public void setNickname(String nickname) 
	{
		this.nickname = nickname;
	}

	public String getNickname() 
	{
		return nickname;
	}
	public void setCutPrice(BigDecimal cutPrice) 
	{
		this.cutPrice = cutPrice;
	}

	public BigDecimal getCutPrice() 
	{
		return cutPrice;
	}
	public void setCurrPrice(BigDecimal currPrice) 
	{
		this.currPrice = currPrice;
	}

	public BigDecimal getCurrPrice() 
	{
		return currPrice;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}
	public void setJwid(String jwid) 
	{
		this.jwid = jwid;
	}

	public String getJwid() 
	{
		return jwid;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("registrationId", getRegistrationId())
            .append("openid", getOpenid())
            .append("nickname", getNickname())
            .append("cutPrice", getCutPrice())
            .append("currPrice", getCurrPrice())
            .append("createTime", getCreateTime())
            .append("jwid", getJwid())
            .toString();
    }
}
